<template>
	<view>
		<block v-for="(item,index) in list" :key="item.title">
			<view class="title-item" @click="toRouter(item.router)">{{item.title}}</view>
		</block>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
						title: 'Store',
						router: './store/store'
					},
					{
						title: '多语言设置',
						router: './language/language'
					},
					{
						title: '图标',
						router: './icon/icon'
					}
				]

			};
		},
		methods: {
			toRouter(url) {
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss">
	.title-item {
		box-sizing: border-box;
		padding: 30rpx 25rpx;
		font-size: 32rpx;
		border-bottom: 1rpx solid #efefef;
	}
</style>